package com.ynding.cloud.auth.api.admin.client.fallback;

import com.ynding.cloud.auth.api.admin.client.UserClient;
import lombok.extern.slf4j.Slf4j;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.stereotype.Component;

/**
 * <p> </p>
 *
 * @author ynding
 * @version 2021/6/11
 **/
@Component
@Slf4j
public class UserClientFallback implements UserClient {

    @Override
    public UserDetails loadUserByUsername(String username) {
        log.error("feign api loadUserByUsername error");
        return null;
    }
}
